//
//  YSMenuViewController.h
//  YSBookRead
//
//  Created by MOLBASE on 2018/11/14.
//  Copyright © 2018年 YangShen. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "YSReadOperation.h"

@class YSMenuViewController;
@protocol YSMenuViewControllerDelegate <NSObject>

- (void)menuViewControllerDidClickReloadButton:(YSMenuViewController *)menuViewController;
- (void)menuViewControllerDidClickChangeSourceButton:(YSMenuViewController *)menuViewController;
- (void)menuViewControllerDidClickDirectoryButton:(YSMenuViewController *)menuViewController;
- (void)menuViewControllerDidClickChangeChapterButton:(YSMenuViewController *)menuViewController;

@end

@interface YSMenuViewController : UIViewController

@property (nonatomic, weak) id <YSMenuViewControllerDelegate> delegate;

@property (nonatomic, assign) BOOL isLocal;
@property (nonatomic, weak) YSReadOperation *readOperation;


/// 显示控制器
- (void)showMenuView;

@end
